import Vue from 'vue'
import Router from 'vue-router'
import Tab from '@/components/tab'
import Index from '@/pages/index'
import Hero from '@/pages/hero'
import Mine from '@/pages/mine'
import PkIndex from '@/pages/pkindex'
import ExtractAgain from '@/pages/extractAgain'
import ExtractFirst from '@/pages/extractFirst'
import Pk from '@/pages/pk'
import SelectHero from '@/pages/selectHero'
import Synthesis from '@/pages/synthesis'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/tab',
      name: 'tab',
      component: Tab
    },
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/hero',
      name: 'hero',
      component: Hero
    },
    {
      path: '/mine',
      name: 'mine',
      component: Mine
    },
    {
      path: '/pkindex',
      name: 'pkindex',
      component: PkIndex
    },
    {
      path: '/extractAgain',
      name: 'extractAgain',
      component: ExtractAgain
    },
    {
      path: '/extractFirst',
      name: 'extractFirst',
      component: ExtractFirst
    },
    {
      path: '/selectHero',
      name: 'selectHero',
      component: SelectHero
    },
    {
      path: '/pk',
      name: 'pk',
      component: Pk
    },
    {
      path: '/synthesis',
      name: 'synthesis',
      component: Synthesis
    }
  ]
})
